# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-progress
pkgver=1.6
pkgrel=1
pkgdesc="Easy to use progress bars for Python3"
url="https://github.com/verigak/progress"
arch="noarch"
license="ISC"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/verigak/progress/archive/$pkgver.tar.gz"
builddir="$srcdir/progress-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 test_progress.py
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
e6afd7ecda8cfbda578b53a8f9ced9a017bfa42d3ffe0fbefbcbb3715024983543c919e5d8276b5cd79bebe9e7d9c2b7234e6d8cd20b3142058c28ee4418ff3a  py3-progress-1.6.tar.gz
"
